package cn.edu.ujn.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CustomerMapper {
    int deleteByPrimaryKey(Integer custId);

    int insert(Customer row);

    int insertSelective(Customer row);

    Customer selectByPrimaryKey(Integer custId);

    int updateByPrimaryKeySelective(Customer row);

    int updateByPrimaryKey(Customer row);
    
    
     Customer findCustomer(@Param("custId")Integer custId);
     
   //查找所有用户信息 
     List<Customer> findAllCustomer();
     
     List<Customer> findCustomerByType(@Param("custId")Integer custId, @Param("custName")String custName,@Param("custAddress")String custAddress,@Param("custIndustry")String custIndustry,@Param("custSource")String custSource);
} 

